/**
 * A fluid 2-column layout
 *
 * This single style sheet takes care of all media (screen, handheld, print, etc.)
 *
 * This style sheet has been checked against Mozilla Firefox version 1 and Microsoft Internet Explorer version 6.
 * You may have to split this file into several pieces to avoid side-effects on legacy browsers such as Netscape navigator 4.7, etc.
 *
 * Styles are ordered according to following list:
 * - standard HTML and XHTML tags are refined
 * - unique styles used for page layout
 * - other unique styles
 * - classes from YACS
 * - classes specific to skin template
 *
 * Where applicable we have also mentioned the YACS codes related to styles.
 * You can find more information on YACS codes at codes/codes.php and related pages.
 *
 * @author Bernard Paques
 * @reference
 * @license http://www.gnu.org/copyleft/lesser.txt GNU Lesser General Public License
 */

/**
 * import core YACS reference style sheet -- this has to come before any other rule
 */
@import url("../_reference/yacs.css");

/**
 * standard tags - redefine behaviour of reference HTML and XHTML tags
 * to ensure that all browsers will be aligned
 */

a,
a code { /* basic link */
	color: #69f;
	text-decoration: none;
	cursor: pointer; /* help ie on folded boxes */
}

a:link,
a:link code { /* link displayed for the first time */
	color: #69f;
	text-decoration: none;
}

a:visited,
a:visited code { /* link that has been used at least once */
	color: #69c;
	text-decoration: none;
}

a:active,
a:active code { /* link at the moment it is clicked */
	color: #f30;
}

a:hover,
a:hover code { /* link below the mouse pointer */
	color: #c60;
}

a img { /* images used as links */
	border: 0.1px none #0033cc;
}

b { /* bold -- [b]...[/b] */
	color: #666;
}

body { /* most elements will inherit some of these attributes */
	font: 11px/15px verdana, geneva, arial, helvetica, sans-serif;
	color: #333333;
	margin: 0;
	padding: 0;
	background-color: #99ccff;
}

button { /* change button appearance */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	background-color: #EFEFEF;
	border: 1px solid #000000;
}

button:hover {
}

dl {
	margin-top: 2em;
	margin-bottom: 14px;
	text-indent: 0px;
}

h1 { /* appears only once, with the page title */
	font: lighter 18px/18px verdana, geneva, arial, helvetica, sans-serif;
	color: #666;
	margin: 0.5em 0 0 0;
	padding: 0.5em 0 0 0;
}

h2 { /* appears in the main content panel, to introduce sections of the page -- [title]...[/title], [question]...[/question] */
	clear: left;
	font: bold 16px/16px verdana, arial, helvetica, sans-serif;
	color: #666;
	margin-top: 1em;
	margin-bottom: 0px;
}

h2 a {
	font: bold 11px/15px verdana, geneva, arial, helvetica, sans-serif;
}

h3 { /* a second level of heading in the main panel -- [subtitle]...[/subtitle] */
	clear: left;
	font: bold 14px/17px verdana, arial, helvetica, sans-serif;
	color: #666666;
}

img { /* a standard image */
	margin: 0;
	padding: 0;
}

input[type="password"],
input[type="text"] { /* change form elements */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: black;
	background-color: #EFEFEF;
	border: 1px solid #000000;
}

input:focus { /* help to locate the current field */
	color: black;
}

input[type="submit"] { /* change button appearance */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	background-color: #EFEFEF;
	border: 1px solid #000000;
}

input[type="submit"]:focus,
input[type="submit"]:hover {
}

li { /* avoid justification alignment */
	text-align: left;
}

pre { /* a block of sample lines -- [php]...[/php], [snippet]...[/snippet] */
	color: #000000;
	background-color: #F7F7F7;
}

select {
	color: black;
	background-color: white;
}

select:focus { /* help to locate the current field */
	color: black;
	background-color: #dedede;
}

textarea { /* change form elements */
	color: black;
	background-color: white;
	border: #26a solid 1px;
}

textarea:focus { /* signal current input area */
	color: black;
	background-color: #dedede;
}

th { /* an ordinary table header -- headers in [table]headers[body]content[/table] */
	background-color: rgb(255, 255, 240);
}

#main_panel ul { /* an ordinary list -- [list]...[/list] */
	list-style-position : outside;
	list-style-type : square;
}

/**
 * layout elements - also add behaviour for related sub-elements where applicable
 */

#footer_panel { /* comes after everything */
	width: 100%;
	margin: 0;
	padding: 0 0 3em 0;
	font: 11px/14px verdana, arial, helvetica, sans-serif;
	color: #666666;
	text-align: right;
}

#footer_panel a {
	font-weight: normal;
}

#footer_panel p {
	margin: 0;
	font: 11px/14px verdana, arial, helvetica, sans-serif;
}

@media print { /* do not print footer information */

	#footer_panel {
		display: none;
	}

}

#header_panel { /* comes before everything */
	padding: 10px 0 0 0;
	margin: 0;
	font-weight: lighter;
	font: lighter 36px arial, helvetica, sans-serif;
	color: #000000;
	letter-spacing: 1px;
	width: 98%; /* to avoid bottom slider */
}

#header_panel a,
#header_panel p  {
	font-weight: lighter;
	font: lighter 36px arial, helvetica, sans-serif;
	color: #000000;
	background-color: transparent;
	letter-spacing: 1px;
}

@media print { /* do not print heading information */

	#header_panel {
		display: none;
	}

}

table#wrapper td#main_panel { /* where the actual content is */
	margin: 0;
	padding: 0 20px 20px 20px;
	background-color: white;
	border: none;
}

@media screen { /* only on a wide screen */

	#main_panel a code { /* next rule do not impact links (eg, <code> in [toc]) */
		background-color: transparent;
	}

	#main_panel code { /* make code more visual */
		background: #EFEFEF url("images/code_background.gif");
		margin: 0;
		padding: 0 4px 0 4px;
	}

	#main_panel pre code { /* use block attributes instead of in-line attributes */
		background-color: transparent;
		margin: 0;
		padding: 0;
	}

}

ul { /* change lists in the main panel */
	margin: 0.5em 0 1em 0;
	padding: 0;
	list-style: none;
}

ul li {
    margin: 0;
    padding: 0;
    padding-left: 12px;
    background: transparent url("codes/art_end.gif") no-repeat 0px 4px;
  }

table#wrapper td#side_panel { /* complementary information related to this page */
	background: #dcdcdc;
	font: 11px/14px verdana, arial, helvetica, sans-serif;
	color: #666666;
	width:200px;
	border: none;
	margin: 0;
	padding: 0;
}

@media print { /* do not print complementary information */

	#side_panel {
		display: none;
	}

}

#side_panel a:hover { /* links in the side panel */
}

#side_panel dl { /* actually, a box on the side panel */
	margin: 0;
	padding: 0;
}

#side_panel dl dd { /* body of one side box */
	line-height:13px;
	margin: 0px;
	padding: 3px 8px 15px 4px;
	text-align: left;
	border: none;
}

#side_panel dt { /* used for titles of various boxes */
	margin: 0;
	padding: 2px 2px 2px 6px;
	background: #ccc;
	font: 12px/13px verdana, arial, helvetica, sans-serif;
	color: #666;
}

#side_panel p {
	margin: 0 0 0.5em 0;
}

#side_panel ul {
/*    margin: 0.5em 0 1em 16px; */
    padding: 0;
}

table#wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
	border-spacing: 0;
	border-collapse: collapse;
	border: none;
}

/**
 * unique elements - may appear in one or several pages
 */

dl#categories ul { /* categories related to an article, on page side -- articles/view.php */
	margin: 0;
	padding: 0;
	list-style: none;
}

dl#categories ul li { /* space between links */
	margin: 0 0 4px 0;
	padding: 0;
}

p#crumbs { /* path to this page -- see template script */
	font: 11px/15px verdana, geneva, arial, helvetica, sans-serif;
	color: #999999;
}

p#crumbs a {
	font: 11px/14px verdana, arial, helvetica, sans-serif;
	font-weight: normal;
}

#featured { /* the navigation box for statically featured pages -- index.php, sections/view.php */
}

#featured hr { /* simple rule between items */
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px dotted #447;
	height: 0px;
}

#featured ul { /* the list of featured pages */
	margin: 0;
	padding: 0;
	list-style: none;
}

/* gadget boxes are generated at index.php and sections/view.php */

p#header_slogan { /* appears towards the top of the page -- see template script */
	margin: 0;
	padding: 0 22px 0 20px;
	font-size: 11px;
	font-weight: normal;
	color: white;
	float: right;
}

p#header_title { /* appears towards the top of the page -- see template script */
	margin: 0;
	padding: 0 0 0 22px;
	font: bold 14px/17px arial, helvetica, sans-serif;
	font-weight: normal;
	color: white;
	float: left;
}

p#header_title  a { /* a link to the home page */
	font: bold 14px/17px arial, helvetica, sans-serif;
	font-weight: bold;
	color: white;
}

#neighbours ul { /* navigation commands on page side -- articles/view.php */
	margin: 0;
	padding: 0;
	list-style: none;
}

#neighbours ul li { /* space between links */
	margin: 0 0 4px 0;
	padding: 0;
}

/* the global navigation bar -- see template script */

#header_panel div.tabs {
	clear: left;
	padding: 15px 0 0 0;
	margin: 0 0 0 10px;
	background-color: transparent;
	background-image: none;
}

#header_panel div.tabs,
#header_panel div.tabs a { /* text appearance in tabs */
	color: white;
	text-decoration: none;
	font-family: sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0;
	z-index: 100;
}

#header_panel div.tabs ul { /* position tabs */
	margin: 0 0 0 10px;
	padding: 0;
	list-style: none;
}

#header_panel div.tabs li {
	display: inline;
	margin: 0 2px 0 0;
	padding: 0;
	text-transform: uppercase;
}

#header_panel div.tabs li a { /* tab top left corner */
	margin:0 1px 0 0;
	padding:0 0 0 8px;
	text-decoration:none;
	float: left;
	background: transparent url("images/tabs.gif") no-repeat 0% 0%;
}

#header_panel div.tabs li a span { /* tab top right corner */
	float:left;
	color:#fff;
	padding:3px 9px 3px 0px;
	font-weight:bold;
	display: block;
	margin: 0;
	background: transparent url("images/tabs.gif") no-repeat 100% 0%;
}

#header_panel div.tabs li a:hover { /* change tab background on hovering */
	background-position: 0% -22px;
	cursor: pointer; /* else ie 6 is lost */
}

#header_panel div.tabs li a:hover span { /* change tab background on hovering */
	background-position: 100% -22px;
}

#tools img { /* towards bottom of the page -- see articles/view.php */
	margin-right: 4px; /* space between icons and labels */
}

#user_menu ul { /* commands that apply to this user -- see template script */
	margin: 0;
	padding: 0;
	list-style: none;
}

#wrapper { /* around the main and the side panels */
	clear: left;
	margin: 0;
	padding: 0;
}

/**
 * styles by classes
 */

table.calendar { /* add bottom and right borders to the table*/
	border-spacing: 0;
	border-collapse: collapse;
	border-bottom: 1px solid #bfbfbf;
	border-right: 1px solid #bfbfbf;
	margin-top: 0;
	margin-bottom: 1em;
}

table.calendar caption,
table.calendar caption a { /* calendar caption */
	font-weight: normal;
	font-size: 12px;
	font-style: normal;
	color: #fff8ff;
	background-color: #8D90AB;
	text-align: right;
	margin-top: 0.5em;
	padding: 4px;
}

table.calendar td,
table.calendar th { /* add top and left borders to each cell */
	border-top: 1px solid #bfbfbf;
	border-left: 1px solid #bfbfbf;
	margin: 0;
	padding: 4px;
	vertical-align: top;
    text-align: left;
}

table.calendar td.spot {
	background-color: #eee;
	font-weight: bold;
}

dl.column_1 dd,
dl.column_2 dd { /* column actual content */
	margin: 0 0 1em 25px;
	padding: 1px 0 0.4em 0.7em;
	border-left: dotted 1px #D6CCBD;
	border-bottom: dotted 1px #D6CCBD;
}

#main_panel .details { /* less contrasted than regular text */
	font: 11px/15px verdana, geneva, arial, helvetica, sans-serif;
	color: #999999;
}

#main_panel .details a { /* faded into text */
	font: 11px/15px verdana, geneva, arial, helvetica, sans-serif;
}

#side_panel .details { /* less contrasted than regular text */
	color: #666666;
	font-size: 11px; /* all text is small on side panel */
}

div.even { /* stacked with div.odd */
	padding: 0.5em 0;
}

.extra_box ul { /* a list in the side panel */
	margin: 0.5em 0 1em 0;
	padding: 0 0 0 1.5em;
	list-style: disc;
}

dl.gadget_box { /* container of one gadget box -- also see #gadget_1, etc. -- from index.php, sections/view.php */
	padding: 0;
	margin: 0 1em 1em 0;
	float: left;
	width: 45%;
}

.highlight1 { /* to locate words looked for, following a search request */
	background-color: #80FF80;
}

.highlight2 {
	background-color: #8080FF;
}

.highlight3 {
	background-color: #FF8080;
}

.menu { /* a small inline menu, almost anywhere */
	margin: 0;
	padding: 0;
	font-size: 0.8em;
}

.menu a {
	font-weight: normal;
}

div.odd { /* stacked with div.even */
	padding: 0.5em 0;
}

#main_panel tr.odd { /* one row out of two, but only in the main panel */
/*	background-color: #dfcb99; */
}

.thumbnail_image img { /* add a small border to images */
	border: 1px solid #333;
}

/*
** specific to this template
*/

div.dotted {
	margin-top: 0.5em;
	margin-bottom: 1em;
	padding: 0;
	border-bottom: 1px dotted #333;
}

div.metadata {
	padding-right: 2px;
	padding-left: 2px;
	font: 11px/14px verdana, arial, helvetica, sans-serif;
	color: #666;
}

